package cn.bdqn.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Charge implements Serializable {
    private Integer id;

    private Integer menberId;

    private Integer type;

    private Date payTime;

    private BigDecimal totalMoney;

    private String nurseCard;

    private Integer payStatus;

    private String payInfo;

    private  Menber menber;

    private  Nurse nurse;

    public Nurse getNurse() {
        return nurse;
    }

    public void setNurse(Nurse nurse) {
        this.nurse = nurse;
    }

    public Menber getMenber() {
        return menber;
    }

    public void setMenber(Menber menber) {
        this.menber = menber;
    }

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMenberId() {
        return menberId;
    }

    public void setMenberId(Integer menberId) {
        this.menberId = menberId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public BigDecimal getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(BigDecimal totalMoney) {
        this.totalMoney = totalMoney;
    }

    public String getNurseCard() {
        return nurseCard;
    }

    public void setNurseCard(String nurseCard) {
        this.nurseCard = nurseCard == null ? null : nurseCard.trim();
    }

    public Integer getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }

    public String getPayInfo() {
        return payInfo;
    }

    public void setPayInfo(String payInfo) {
        this.payInfo = payInfo == null ? null : payInfo.trim();
    }

    @Override
    public String toString() {
        return "Charge{" +
                "id=" + id +
                ", menberId=" + menberId +
                ", type=" + type +
                ", payTime=" + payTime +
                ", totalMoney=" + totalMoney +
                ", nurseCard='" + nurseCard + '\'' +
                ", payStatus=" + payStatus +
                ", payInfo='" + payInfo + '\'' +
                '}';
    }
}